package com.skyline.base.dao;

import java.util.List;

import com.skyline.base.model.Footprint;
import com.skyline.base.type.ResourceType;
import com.skyline.common.bean.Page;

public interface FootprintDao {
	public Footprint queryFootprint(Long viewerId, Long resourceId, ResourceType resourceType);

	public List<Footprint> queryFootprintsOfResource(Long resourceId, ResourceType resourceType, Page page);

	public List<Footprint> querySomeFootprintsOfResource(Long resourceId, ResourceType resourceType, Integer size);

	public void insertFootprint(Long viewerId, String viewerNickname, String viewerPortrait, String viewerEmail,
			Long resourceId, ResourceType resourceType);

	public void updateFootprint(Long viewerId, String viewerNickname, String viewerPortrait, String viewerEmail,
			Long resourceId, ResourceType resourceType);
}
